<?php $this->load->view('admin/admin_head.php');?>
<div id="main_head" class="main_head" style="height:35px;">
<table class="menu">
<tr><td>
<a href="<?php echo site_url('admin/userinfo')?>" class="current"><?php echo lang('func_profile')?></a>
</td></tr>
</table>
</div>
<form name="formview" id="formview" action="" method="post">
<input type="hidden" name="action" id="action" value="<?php echo site_url('admin/userinfo')?>">
<div id="main" class="main" style="padding-top:35px;">
<table cellSpacing=0 width="100%" class="content_view">
<tr><td width="100">用户名</td><td><?php echo $userData['username'] ?></td></tr>
<tr><td width="100">真实姓名</td><td><input type="text" name="realname" id="realname" class="input-text" value="<?php echo $userData['realname'] ?>"></td></tr>
<tr><td width="100">联系电话</td><td><input type="text" name="tel" id="tel" class="input-text" value="<?php echo $userData['tel'] ?>"></td></tr>
<tr><td width="100">联系地址</td><td><input type="text" name="address" id="address" size=60 class="input-text" value="<?php echo $userData['address'] ?>"></td></tr>
<tr><td></td><td><input type="button" class="btn" onclick="submitTo('<?php echo site_url('admin/userinfo/save')?>','save')" value="保存"></td></tr>
</table>
</div>
</form>
<script type="text/javascript">           
$(document).ready(function(){
	$("#formview").validform();
});  
</script>
</body>

<?php $this->load->view('admin/admin_foot.php');?>